import Layout                  from "@/layout/index.vue"
import { createNameComponent } from "../createNode"

const route = [
    {
        path     : "/spatial",
        component: Layout,
        redirect : "/spatial/manager",
        meta     : { title: "空间分析", icon: "sfont system-page" },
        children : [
            {
                path     : "kde",
                component: createNameComponent(() => import("@/views/main/spatial/kde/Kde.vue")),
                meta     : { title: "核密度估计", icon: "sfont system-page" },
            },
            {
                path     : "globalMoran",
                component: createNameComponent(() => import("@/views/main/spatial/globalMoran/GlobalMoran.vue")),
                meta     : { title: "全局Moran", icon: "sfont system-page" },
            },
            {
                path     : "localLisa",
                component: createNameComponent(() => import("@/views/main/spatial/localLisa/LocalLisa.vue")),
                meta     : { title: "局部LISA", icon: "sfont system-page" },
            },
        
        ],
    },
]

export default route
